package com.huabo.system.oracle.mapper;

import com.hbfk.util.PageInfo;
import com.huabo.system.oracle.entity.TblInnerrule;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;

@Mapper
public interface TblInnerruleMapper extends tk.mybatis.mapper.common.Mapper<TblInnerrule> {

    @SelectProvider(type = TblInnerruleMapperSqlConfig.class, method = "findListByPageInfoFlow")
    List<TblInnerrule> findListByPageInfoFlow(PageInfo<TblInnerrule> pageInfo, String flowid);

    @SelectProvider(type = TblInnerruleMapperSqlConfig.class, method = "findCountByPageInfoFlow")
    Integer findCountByPageInfoFlow(String flowid);

    @SelectProvider(type = TblInnerruleMapperSqlConfig.class, method = "findInnerruleByFolwid")
    List<TblInnerrule> findInnerruleByFolwid(PageInfo<TblInnerrule> pageInfo, String orgid, String flowid);

    @SelectProvider(type = TblInnerruleMapperSqlConfig.class, method = "findCountInnerruleByFolwid")
    Integer findCountInnerruleByFolwid(String orgid, String flowid);
}
